﻿#include <stdio.h>

//main14：for循环
int main14(void)
{
	for (int i = 0; i < 10; i++)
	{
		printf("1.输出for循环的值i：%d\n", i);//0 1 2...9
	}

	int j = 0;
	for (; ; )
	{
		if (j >= 10)
		{
			break;
		}
		printf("2.分段演示for循环执行过程，输出值j：%d\n", j);//0 1 2...9
		j++;
	}
	return 0;
}